package org.mokusakura.domain.vo;

import org.mokusakura.domain.Product;

/**
 * @author MokuSakura
 */
public class SimpleProduct {
    private String productId;
    private String categoryId;
    private String name;
    private String description;

    public SimpleProduct(Product product) {
        productId = product.getProductID();
        categoryId = product.getCategoryId();
        name = product.getName();
        description = product.getDescription();
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
